var url = 'http://localhost:4000/api/top250'
function http({
    success
}) {
    wx.request({
        url,
        header: { 'content-type': 'application/json' },
        method: 'GET',
        dataType: 'json',
        responseType: 'text',
        success: (res)=>{
            success(res)
        }
    });
}
module.exports = http;